﻿namespace Nomo.UnityCoreModule.Waiters
{
    /// <summary>
    /// 假等待器。
    /// </summary>
    public sealed class FalseWaiter : PredicateWaiter
    {
        internal FalseWaiter(System.Func<bool> predicate) : base(predicate) { }

        private protected override bool KeepWaiting => Predicate();
    }
}
